package cn.tedu.charging.order.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotNull;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class OrderAddParam {
    @ApiModelProperty(value = "用户Id")
    @NotNull(message = "用户id不能为空")
    private Long userId;
    @ApiModelProperty(value = "充电桩Id")
    @NotNull(message = "充电桩id不能为空")
    private Integer pileId;
    @ApiModelProperty(value = "充电枪Id")
    @NotNull(message = "充电枪id不能为空")
    private Integer gunId;

}
